<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html xmlns:th="http://www.thymeleaf.org">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:mvc="http://www.springframework.org/schema/mvc">
<head>
    <meta charset="UTF-8">
    <!--问题页面-->
    <title th:text="${question.title}">发布问题</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="/css/bootstrap-theme.min.css"/>
    <link rel="stylesheet" href="/css/community.css"/>
    <script src="/js/bootstrap.js" type="application/javascript"></script>
    <script type="text/javascript" src="/js/bootstrap.js/bootstrap.min.js"></script>
    <script src="js/bootstrap.js/bootstrap.min.js" type="application/javascript"></script>
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<div th:insert="~{navigation::nav}"></div>
<div class="container-fluid main profile">
    <div class="row">
        <!--所有的尺寸 最大为12其中占据9个-->
        <div class="col-lg-9 col-md-12 col-sm-12 col-xs-12">
            <h4><span th:text="${question.title}"></span></h4>
            <span class="text-desc">作者：
            <!--<span th:text="${question.user.getName()}"> </span>|发布时间-->
            <span th:text=" ${#dates.format(question.getGmtCreate(), 'yyyy-MM-dd HH：mm')}"> 发布时间</span>|阅读数
            <span th:text="${question.viewCount}"> 阅读数</span>|
            </span>
            <hr/>
<!--希望效果是全部站满   字段为描述-->
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" th:text="${question.description}">description五千万千万</div>
             <hr class="col-lg-12 col-md-12 col-sm-12 col-xs-12" >
            <!--这里面需要添加 如果没登陆不能进行编辑登陆了才能有编辑按钮-->
                <a th:href="@{'/publish/'+${question.id}}" class="community-menu" th:if="${session.user!=null&&session.user.id==question.creator}">
                    <span class="glyphicon glyphicon-pencil" aria-hidden="true" ></span>编辑</a>
            </span>
        </div>
        <div class="col-lg-3 col-md-12 col-sm-12 col-xs-12" style="background-color: #d0e9c6">

            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">

                <h4>发起人11</h4>
                <div class="media" >
                    <div class="media-left">
                        <a href="#">
                            <!--加入圆角-->
                            <!--<img class="media-object img-circle" style="width: 30px ;height: 30px"-->
                                 <!--th:src="*{question.user.getAvatarUrl()}"-->
                            <!--/>-->
                        </a>
                    </div>
                    <div class="media-body">
                        <!--<h5 class="media-heading"><span th:text="${question.user.name}"></span></h5>-->
                    </div>
                </div>
            </div>
            <hr class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <h6>相关问题</h6>
            </div>

        </hr>
    </div>
    <!--所有的尺寸 最大为12其中占据3个-->

</div>
</div>
</body>
</html>
42:40